<?php

namespace Entities;

use Doctrine\ORM\Mapping as ORM;

/**
 * Entities\Statistics
 */
class Statistics
{
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var integer $user_id
     */
    private $user_id;

    /**
     * @var integer $file_id
     */
    private $file_id;

    /**
     * @var datetime $insert_time
     */
    private $insert_time;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set user_id
     *
     * @param integer $userId
     * @return Statistics
     */
    public function setUserId($userId)
    {
        $this->user_id = $userId;
        return $this;
    }

    /**
     * Get user_id
     *
     * @return integer 
     */
    public function getUserId()
    {
        return $this->user_id;
    }

    /**
     * Set file_id
     *
     * @param integer $fileId
     * @return Statistics
     */
    public function setFileId($fileId)
    {
        $this->file_id = $fileId;
        return $this;
    }

    /**
     * Get file_id
     *
     * @return integer 
     */
    public function getFileId()
    {
        return $this->file_id;
    }

    /**
     * Set insert_time
     *
     * @param datetime $insertTime
     * @return Statistics
     */
    public function setInsertTime($insertTime)
    {
        $this->insert_time = $insertTime;
        return $this;
    }

    /**
     * Get insert_time
     *
     * @return datetime 
     */
    public function getInsertTime()
    {
        return $this->insert_time;
    }
}